package com.itlong.cloud.equip.smartcard;

import com.itlong.cloud.POJO.DTO.smartcard.SmartCardOldGetDeviceRecordDTO;
import com.itlong.cloud.POJO.VO.smartcard.SmartCardOldEquipRecordVO;
import com.itlong.cloud.utils.page.Page;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * <desc>
 * 旧一卡通_通行记录接口暴露。
 * <desc/>
 *
 * @createDate 2017-12-19.
 */
@FeignClient(name = "equip-service")
public interface ISmartCardOldEquipRecordServiceClient {

    /**
     * <desc>
     *      获取通行记录。
     * <desc/>
     *
     * @param pageDTO
     * @return
     * @author shengen.T
     * @createDate 2017-12-19
     */
    @RequestMapping(path="/device/deviceRecord/manage/list",method = RequestMethod.POST)
    Page<SmartCardOldEquipRecordVO> getEquipRecordPage(@RequestBody SmartCardOldGetDeviceRecordDTO pageDTO) throws Exception;
}
